package com.niguang.labour.admin.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 劳务公司工地关联关系表
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("admin_labor_company_site")
public class AdminLaborCompanySite extends Model<AdminLaborCompanySite> {

    private static final long serialVersionUID = 1L;

	private Long id;
	@TableField("labor_company_id")
	private Long laborCompanyId;
	@TableField("site_id")
	private Long siteId;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_time")
	private Date updateTime;
	@TableField("del_flag")
	private Boolean delFlag;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getLaborCompanyId() {
		return laborCompanyId;
	}

	public void setLaborCompanyId(Long laborCompanyId) {
		this.laborCompanyId = laborCompanyId;
	}

	public Long getSiteId() {
		return siteId;
	}

	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Boolean getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}

	public static final String ID = "id";

	public static final String LABOR_COMPANY_ID = "labor_company_id";

	public static final String SITE_ID = "site_id";

	public static final String CREATE_TIME = "create_time";

	public static final String UPDATE_TIME = "update_time";

	public static final String DEL_FLAG = "del_flag";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AdminLaborCompanySite{" +
			"id=" + id +
			", laborCompanyId=" + laborCompanyId +
			", siteId=" + siteId +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			", delFlag=" + delFlag +
			"}";
	}
}
